package businessprofile

import "github.com/zeromicro/go-zero/core/stores/sqlx"

var _ BusinessProfileModel = (*customBusinessProfileModel)(nil)

type (
	// BusinessProfileModel is an interface to be customized, add more methods here,
	// and implement the added methods in customBusinessProfileModel.
	BusinessProfileModel interface {
		businessProfileModel
	}

	customBusinessProfileModel struct {
		*defaultBusinessProfileModel
	}
)

// NewBusinessProfileModel returns a model for the database table.
func NewBusinessProfileModel(conn sqlx.SqlConn) BusinessProfileModel {
	return &customBusinessProfileModel{
		defaultBusinessProfileModel: newBusinessProfileModel(conn),
	}
}
